<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page language="java" import="com.jxLC.Action.*"%>
<%@ page language="java" import="com.jxLC.Model.*" %>
<%@ page language="java" import="com.jxLC.Service.*" %>
<%@ page language="java" import="com.jxLC.util.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>:::江西低碳:::</title>
	<link href="/mycss/my.css"  rel="stylesheet" type="text/css" />
	<link href="/mycss/details.css"  rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/myjs/my.js"></script>
    <style type="text/css">
    #mk{margin-top:30px;margin-left:9%;margin-bottom:20px;}
    table{background-color:#FFFFFF;border:1px dashed black;width:800px;}
    #ann{padding-left:110px;padding-right:80px;font-size: 14px; }
    </style>
  </head>
  
 <body style="background-color:#EBFCF3">
    <s:include value="/admin/header.jsp"></s:include>
	<div id="m" style="background-color: white">
	    <div id="mk"> 
	     <table>
	     <tr>
	     <td>
	              <%
		             Filecontent fcontent=(Filecontent)request.getAttribute("finfo");
	                 UserService us = new UserService();
	                 AdminService aService=new AdminService();
	                 Admin a=aService.getadmin(fcontent.getCadmid());
	                 User u= us.search(fcontent.getCNum());
			                %>
			                <div id="m1"><h3><%=fcontent.getCFC_topic()%></h3></div>
			                <div id="m2"></div>
			                <div id="m4"><font style="font-size:14px;color:red">联系电话：<%=a.getCAdmin_telnum() %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;发布时间：<%=fcontent.getCFC_time() %></font></div>
			                <div id="m3"><font style="font-size:15px;"><%=fcontent.getCFC_text() %></font></div>
			                <div id="m5"></div>
			                <%
		                 	if(fcontent.getAnnex() != null && fcontent.getAnnex().length() > 0){
		                 	%>
		                 	<div id="m7">附件：</div>
		                 	<%
		                 		DealAnnex dann= new DealAnnex();
		                 		List<Annex> list = dann.getAnnex(fcontent.getAnnex());
		                 		for(int i=0;i<list.size();i++ ){
		                 			Annex ann = list.get(i);
		                 			%>
		                 			<div id="ann"><a href="<%=ann.getNewFile() %>"><%=ann.getOldFileName() %></a></div>
		                 			<%
		                 		}
		                 	}
					  		%>
			                <%
					  %>
		 </td> 
		 </tr>
	   </table>
	   </div>
	</div>
	<s:include value="/admin/tail.jsp"></s:include>
</body>
</html>
